{% extends 'base.html' %}

{% block title %}修改密码 - 外卖管理系统{% endblock %}

{% block content %}
<h1>修改密码</h1>

<form method="post">
    {% csrf_token %}
    {{ form.as_p }}
    <button type="submit" class="btn btn-primary">修改密码</button>
</form>

{% if messages %}
    <div class="alert alert-success mt-3">
        {% for message in messages %}
            <p>{{ message }}</p>
        {% endfor %}
    </div>
{% endif %}
{% endblock %}
